package com.atguigu.spzx.pay;

import com.atguigu.spzx.service.annotation.EnableUserLoginAuthInterceptor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * ClassName: PayApplication
 * Package: com.atguigu.spzx.pay
 * Description:
 *
 * @Author 刘强
 * @Create 2024/7/19 11:07
 * @Version 1.0
 */
@SpringBootApplication
@EnableUserLoginAuthInterceptor   // 开启认证上下文拦截器 -> AuthContextUtils
@EnableFeignClients(basePackages = "com.atguigu.spzx.feign")
public class PayApplication {
    public static void main(String[] args) {
        SpringApplication.run(PayApplication.class,args);
    }

}
